package kryonetpackets;

import java.util.Random;

public class RGB {
	private float r,g,b;
	public RGB()
	{
		Random rand = new Random();
		this.r = rand.nextFloat();
		this.g = rand.nextFloat();
		this.b = rand.nextFloat();
	}
	public RGB(float r, float g, float b)
	{
		this.r = r;
		this.g = g;
		this.b = b;
	}
	
	public float getB() {
		return b;
	}
	public void setB(float b) {
		this.b = b;
	}
	public float getG() {
		return g;
	}
	public void setG(float g) {
		this.g = g;
	}
	public float getR() {
		return r;
	}
	public void setR(float r) {
		this.r = r;
	}

}
